package com.fourcitizens.playas.scrapper;

class Town {
	private String _name;
	private String _url;
	private Province _province;
	
	public Town(String name, String url, Province province) {
		_name = name;
		_url = url;
		_province = province;
	}
	
	public String getName () {
		return _name;
	}
	
	public String getUrl() {
		return _url;
	}
	
	public Province getProvince() {
		return _province;
	}
	
	public String toString() {
		return _name;
	}
	
	public String toExtendedString() {
		return toString() + " (" + _url + ")";
	}
}
